package com.imooc.proxy;

/**
 * 记录日志代理
 * @author Administrator
 *
 */
public class CarLogProxy implements Moveable {

	
	public CarLogProxy(Moveable moveable) {
		super();
		this.moveable = moveable;
	}
	private Moveable moveable;

	@Override
	public void move() {
		System.out.println("日志开始");
		moveable.move();
		System.out.println("日志结束");
	}

}
